package cron.task.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : willian fu
 * @version : 1.0
 * @date : 2021/3/3 0003 13:06
 */
@Controller
@RequestMapping
public class DemoController {
    @GetMapping("/")
    public Object getIndex(){
        System.out.println("访问了");
        return "hello 哈哈哈";
    }
}
